        <div id="page-bgtop">
            <div id="page-bgbtm">
                <div id="content">
					<?php if(count($postlist)>0):?>
                    <?php foreach($postlist as $post):?>
                                        <div class="post">
                        <h2 class="title"><a href="<?php echo $post['url'];?>"><?php echo $post['title'];?>  </a></h2>
                        <p class="meta"><span class="date"><?php echo date('y-m-d',$post['created']);?></span><span class="posted">Posted by <a href="#"><?php echo $post['username'];?></a></span></p>
                        <div style="clear: both;">&nbsp;</div>
                        <div class="entry">
                            <?php echo $post['content'];?>
                            <p class="links"><a href="<?php echo $post['url'];?>">Read More</a>&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" title="b0x w">Comments</a></p>
                        </div>
                    </div>
                    <?php endforeach;?>
					<?php endif;?>
<?php echo $this->component('pagination',array('pagination'=>$pagination));?>
                    <div style="clear: both;">&nbsp;</div>

                </div>

                <!-- end #content -->

                <div id="sidebar">

                    <ul>

                        <li>

                            <div id="search" >

                                <form method="get" action="#">

                                    <div>

                                        <input type="text" name="s" id="search-text" value="" />

                                        <input type="submit" id="search-submit" value="GO" />

                                    </div>

                                </form>

                            </div>

                            <div style="clear: both;">&nbsp;</div>

                        </li>

                        <li>
                            <h2>关于DreamFrameWork</h2>

                            <p>之所以命名DreamFrameWork，我希望他能够成为优雅，如梦幻般的框架，而受到大家的喜欢.</p>

                        </li>


                    </ul>

                </div>

                <!-- end #sidebar -->

                <div style="clear: both;">&nbsp;</div>

            </div>

        </div>




